#pragma once
#include <time.h>
#include <string>
#include <stdarg.h>

#define logResult Log::Inst()->logRes

using namespace std;

class Log {
  public:
    static Log* Inst();
    void logRes(int depth, char * nameFunction, int levelMessage, char *message, ...);
    ~Log();
  protected:
    Log(); // constructor
  private:
    static Log* pInstance;
	FILE *logfile;
	int DEBUG_LEVEL;
	char nameLogFile[200];
};
